package joyi.train.employee.domain;

import j.framework.domain.BaseDomain;
import j.util.jdbc.simple.annotation.Table;

/**
 * Created by WY2015092804 on 2015/10/19.
 */
@Table(name = "cw_Department",pkColumns = "departmentId",isTree =true,leftFieldName = "leftValue",rightFieldName = "rightValue",parentFieldName = "parentDepartmentId")

public class Department extends BaseDomain {

    private String departmentId;

    private String departmentName;

    private String parentDepartmentId;

    private int leftValue;

    private int rightValue;

    private String note;

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getParentDepartmentId() {
        return parentDepartmentId;
    }

    public void setParentDepartmentId(String parentDepartmentId) {
        this.parentDepartmentId = parentDepartmentId;
    }

    public int getLeftValue() {
        return leftValue;
    }

    public void setLeftValue(int leftValue) {
        this.leftValue = leftValue;
    }

    public int getRightValue() {
        return rightValue;
    }

    public void setRightValue(int rightValue) {
        this.rightValue = rightValue;
    }

    @Override
    public String getId() {
        return null;
    }

    @Override
    public void setId(String id) {

    }
}
